package org.hotDating.android.individual.service;

public abstract class ServiceBase {
	
	private ServiceListener serviceListener = null;
	
	final public void doService(){
		service();
		if(null != this.serviceListener)
			serviceListener.servicePerformed(this);
	}
	

	public void setServiceListener(ServiceListener serviceListener) {
		this.serviceListener = serviceListener;
	}

	public abstract void service();
}
